Total Complexity | 22 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 127 |
Lines of code | 100 |
Logical lines of code | 47 |
Comment lines | 2 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_to_cart() | 46 | 11 | 35 | |
remove_cart_item() | 56 | 5 | 16 | |
update_cart_item_quantity() | 60 | 4 | 13 | |
__construct() | 52 | 1 | 31 | |
clear_cart() | 73 | 1 | 5 |